@import "../modules/variables.scss";
@import "../modules/mixin.scss";
@import "../modules/public-admin-index.scss";
@import "../modules/public-client-index.scss";
.main-nav{
  .navbar-right{
      >li>a{
        padding-right: 0;
        padding-left: 30px;
      }
    >.active>a{
      color: $pink;
    }
  }
}

.section-breadcrumb,.section-breadcrumb-lg{
  background-color: #000;
  position: relative;
  height: 200px;
  color: #fff;
  margin-bottom: 50px;
  .container{
    position: relative;
    z-index: 2;
  }
  h2{
    font-size: 52px;
    margin-top: 55px;
    margin-bottom: 5px;
  }
  .breadcrumb{
    margin-bottom: 0;
    padding: 0;

    li,li>a,.active{
      color: #fff;
      font-size: 1.8rem;
      font-weight: 400;
    }
  }
  .breadcrumb > li + li:before{
    color: #fff;
  }
  .section-breadcrumb-bg{
    opacity:0.8;
    background-position: 0 0;
  }
}
.section-breadcrumb-lg{
  height: 500px;
  margin-bottom: 35px;
  background-color: $header-bg;
  h2{
    color: $black-1;
    margin-top: 240px;
  }
  .breadcrumb{
    li>a{
      color: $black-2;
    }
    .active{
      color: $black-1;
    }
  }
  .breadcrumb > li + li:before{
    color: $black-2;
  }
  .section-breadcrumb-bg{
    background-position: center 0;
    //background-attachment: fixed;
    opacity:1;
  }
}
.section-breadcrumb-bg{
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background-repeat: no-repeat;
}
.aside-title{
  @include has-hr;
}
.aside-section-title{
  font-size: 2rem;
  @include PTSerif;
  @include has-hr;
  margin-bottom: 40px;
}
.pick-of-the-week{
  max-width: 180px;
  .thumbnail{
    margin-bottom: 25px;
  }
  .caption{
    padding:10px 5px;
  }
}
.blog-container{
  width: 94.94%;
  margin-left:5.055%;
}
.blog{
  .thumbnail{
    margin-bottom: 40px;
    img{
      margin: 0;
    }
  }
  .caption{
    padding:0 1px;
  }
  .thumbnail-title{
    font-size: 2rem;
    margin-top: 25px;
    @include PTSerif;
    a{
      color: $black-1;
    }
  }
  article{
    p{
      text-indent: 2em;
    }
  }
  .thumbnail-author{
    color: $black-2;
    line-height: 1.6rem;
  }
  .author-role{
    padding-left: 3em;
  }
  .has-hr{
    @include has-hr(50px,#d2d2d2,18px,2px);
    margin-bottom: 30px;
  }
  .btn-fill-default{
    font-size: 1.6rem;
    @include padding-lr(3rem);
  }
  .thumbnail-content{
    line-height: 2em;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: $black-2;
    a{
      color: $black-2;
    }
  }
}
.share-post{
  border:1px solid #d2d2d2;
  ul{
    padding-right: 1em;
  }
}
.share-post-title{
  background: $pink;
  color: #fff;
  padding-left: 1.2em;
  padding-right: 1.2em;
  display: inline-block;
}
/*panel-group*/
.section-panel{
  .panel-group{
    width: 96.23%;
    margin:0 auto;
  }
  .panel-heading{
    padding-left: 0;
    padding-right: 0;
  }
  .panel{
    border-bottom:1px solid #d2d2d2;
    padding-top: 21px;
    padding-bottom: 26px;
  }
  a{
    &:hover{
      text-decoration: none;
    }
  }
  .panel-title{
    font-size: 2.4rem;
    .fr{
      font-size: 2rem;
      line-height: 34px;
    }
  }
  .panel-body{
    padding: 10px 0 0;
    article{
      font-size: 1.8rem;
      color: $black-2;
    }
    p{
      line-height: 2em;
      //text-indent: 2em;
    }
  }
  .panel-group .panel-heading + .panel-collapse > .panel-body{
    border-color: #fff;
  }
}

/*contact*/
.get-a-touch{
  h2{
    text-align: left;
    width: 87.88%;
    margin: 0 auto 35px;
  }
  .form-group{
    border-bottom:2px solid #d2d2d2;
  }
  .form-control{
    border:none;
  }
}

/*Index*/
.container-sm{
  width: 96.23%;
  margin: 0 auto;
}

.main-carousel-caption{
  bottom:auto;
  top: 150px;
  padding: 0;
  >h1{
    margin-bottom: 35px;
    line-height: 1.4em;
    font-size: 4.2rem;
  }
  .btn-stroke-white{
    @include padding-lr(3rem);
  }
}
.header-carousel{
  min-height: 500px;
}
.carousel-inner{
  >.item{
    overflow: hidden;
  }
  >.item>.item-img{
    max-width: none;
    min-height: 100%;
  }
}
.carousel-indicators-clean{
  left: auto;
  width:auto;
  margin-left: 0;
  li{
    text-indent: 0;
    display: block;
    border:none;
    border-radius: 0;
    width:auto;
    height:auto;
  }
}

/*section-featured*/
.section-featured{
  margin-top: 90px;
  margin-bottom: 90px;
  h2{
    font-size: 2.8rem;
    @include has-hr(140px,$pink,10px,5px);
    margin-bottom: 65px;
    @include PTSerif;
    margin-top: 0;
  }
  .row{
    margin-left: -30px;
    margin-right: -30px;
    >div{
      padding-left: 30px;
      padding-right: 30px;
    }
  }

}
.featured-item{
  display: block;
  background-position: 70% 81.58%;
  background-repeat: no-repeat;
  height: 380px;
  margin-bottom: 30px;
  &:hover{
    text-decoration: none;
  }
  &.bg1{
    background-color: #ecf2f0;
  }
  &.bg2{
    background-color: #ecf0f2;
  }
  &.bg3{
    background-color: #f2eced;
  }
  &.bg4{
    background-color: #f2f2ec;
  }
  &.bg5{
    background-color: #f2ecf2;
  }
  &.featured-item-lg{
    height: 300px;
    background-position: 71.21% 73.33%;
    margin-top: 30px;
    margin-bottom: 0;
  }
  &.featured-item-sm{
    height: 230px;
    background-position: 75% 76.09%;
    margin-bottom: 0;
  }
}

.featured-title{
  padding-top: 25px;
  color: $black-1;
}
.featured-title,.featured-describe{
  font-size: 1.8rem;
  padding-left: 20px;
}
.featured-describe{
  font-family: 'Philosopher', Helvetica, Arial, serif;
  color: $black-2;
  margin-top: 5px;
}

/*section-advantage*/
.section-advantage{
  background-repeat: no-repeat;
  background-position: center center;
  background-color: $black-1;
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 75px;
  .container{
    z-index: 2;
  }
  .card-icon{
    &:after{
      display: inline-block;
      width: 100%;
      height: 45px;
      content:"";
      background-position: 50% 100%;
      background-repeat: no-repeat;
      background-size: auto 45px;
    }
    &.icon-1{
      &:after{
        background-image: url("../../images/icon/advantage-1.png");
      }
    }
    &.icon-2{
      &:after{
        background-image: url("../../images/icon/advantage-2.png");
      }
    }
    &.icon-3{
      &:after{
        background-image: url("../../images/icon/advantage-3.png");
        background-size: auto 68px;
        background-position: center 40%;
      }
    }
  }
  h2{
    font-size: 2.8rem;
    color: #fff;
    @include PTSerif;
    position: relative;
    text-align: center;
    margin-top: 45px;
    margin-bottom: 30px;
  }
  h3{
    position: relative;
    @include PTSerif;
    color: #fff;
    font-size: 2.4rem;
    margin-top: 0;
    margin-bottom: 15px;
  }
  .card{
    background-color: #fff;
    min-height: 240px;
    padding:28px 30px 25px;
    margin-bottom: 35px;
  }
  .row-2{
    color: #fff;
    font-size: 2rem;
    >div{
      padding-top: 9px;
      padding-bottom: 9px;
    }
    .fa{
      color: $pink;
      margin-right: 10px;
      font-size: 2.9rem;
      &:before{
        position: relative;
        top: 4px;
      }
    }
  }
  .row-1{
    margin-left: -15px;
    margin-right: -15px;
    >div{
      padding-left: 15px;
      padding-right: 15px;
    }
  }
  .advantage-describe{
    font-size: 2rem;
    color: $black-2;
    margin-bottom: 20px;
  }
  a{
    &:hover{
      text-decoration: none;
      color: lighten($pink,9%);
    }
  }
}
/*section-classification*/
.section-classification{
  margin-bottom: 50px;
  .card{
    border:1px solid #d2d2d2;
    padding:25px 10px 15px;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
  }
  .describe{
    color: $black-2;
  }
  .card-icon{
    &:after{
      display: inline-block;
      width: 100%;
      height: 46px;
      content:"";
      background-position: 50% 100%;
      background-repeat: no-repeat;
      background-size: auto 42px;
    }
    &.icon-1{
      &:after{
        background-image: url("../../images/icon/cf-1.png");
      }
    }
    &.icon-2{
      &:after{
        background-image: url("../../images/icon/cf-2.png");
        background-size: auto 51px;
      }
    }
    &.icon-3{
      &:after{
        background-image: url("../../images/icon/cf-3.png");
      }
    }
    &.icon-4{
      &:after{
        background-image: url("../../images/icon/cf-4.png");
      }
    }
  }
}
h2.section-title{
  font-size: 2.4rem;
  @include PTSerif;
  text-align: center;
}
/*section-follow*/
.section-follow{
  background: #f7f7f7;
  .section-title{
    margin: 55px 0;
  }
  h4{
    @include PTSerif;
    font-size: 1.8rem;
  }
  .describe{
    color: $black-2;
    font-size: 1.8rem;
  }
  .card{
    background: #fff;
    padding:30px 15px 30px;
    min-height: 200px;
    margin-bottom: 20px;
  }
  .name{
    font-size: 1.8rem;
  }
  time{
    color: $black-2;
    display: block;
  }
  .head{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
  }
  .author{
    overflow: hidden;
    margin-bottom: 35px;
    >li{
      float: left;
      margin-right: 12px;
    }
  }
  .dashed-carousel-indicators{
    margin-bottom: 40px;
  }
}
/*section-latest*/
.section-latest{
  h2{
    margin: 55px 0;
  }
  .row{
    margin-left: -14px;
    margin-right: -14px;
    >div{
      padding-left: 14px;
      padding-right: 14px;
    }
  }
  .thumbnail-title{
    margin-top: 15px;
    margin-bottom: 10px;
    @include PTSerif;
    a{
      font-size: 1.8rem;
      color: $black-1;
    }
  }
  .view-more{
    margin-top: 30px;
    .btn{
      font-size: 1.8rem;
      @include btn-stroke(#fff,$black-1,$pink,$pink,#fff,$pink);
      @include padding-lr(3rem);
      @include padding-tb(8px);
    }
  }
  .thumbnail{
    margin-bottom: 40px;
    max-width: 320px;
    margin-left:auto;
    margin-right: auto;
  }
  .caption{
    padding: 0;
  }
  .thumbnail-author{
    color: #000;
    margin-bottom: 10px;
  }
  .thumbnail-content{
    height: 92px;
    overflow: hidden;
    margin-bottom: 0;
    a{
      color: $black-2;
      font-size: 1.6rem;
      line-height: 1.5em;
    }
  }
}